package com.wangxiang.shop.order.feign;

import com.wangxiang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.List;
@FeignClient("shop-member")
public interface MemberFeign {
    @RequestMapping("member/order/list")
    List<HashMap<String , Object>> memberOrderList(@RequestBody List<HashMap<String , Object>> list);

    @RequestMapping("member/order/search")
    int orderSearch(@RequestBody HashMap<String ,Object> map);
}
